﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BI.CF.IDAL;
using BI.CF.Model;
using BI.CF.Factory;
using BI.CF.PageList;
namespace BI.CF.BLL
{
    public class PRDetailsBLL
    {
       static  CF_Factory sql = CF_Factory.DataBaseType();
       PRDetailsIDAL servicefac = sql.PRDetailsFactry();
       /// <summary>
       /// 显示平台收益
       /// </summary>
       /// <param name="pageindex">当前页</param>
       /// <param name="pagesize">显示条数</param>
       /// <param name="time">入账时间</param>
       /// <returns></returns>
       public Pager<PRDetailsModel> PRDetails_Show(int pageindex, int pagesize, string startime, string endtime)
       {
           return servicefac.PRDetails_Show(pageindex, pagesize, startime, endtime);
       }
       /// <summary>
       /// 平台的总收益
       /// </summary>
       /// <returns></returns>
       public decimal PintTai_MoneySum()
       {
           return servicefac.PintTai_MoneySum();
       }
    }
}
